package me.a04demo4;

public class EqualTest {
    public static void main(String[] args) {
        Student s1 = new Student("张三", 18);
        Student s2 = new Student("张三", 18);
        boolean b = s1.equals(s2);
        System.out.println(b);
    }
}
